package main

import (
	"fmt"
	"go_mem/c/mem"
)

func main() {
	b := new(mem.GBuf)
	b.Read([]byte("cauchy"))

	fmt.Println(string(b.Data()))
	b.Pop(3)
	fmt.Println(string(b.Data()))
	b.Adjust()
	fmt.Println(string(b.Data()))
	b.Clear()
	fmt.Println(string(b.Data()))
}
